package com.qwz.example;

public class Client {
    public static void main(String[] args) {
        SecurityMgr mgr = SecurityMgr.getInstance();
        mgr.login("zs");
        mgr.login("ls");

        boolean f1 = mgr.hasPermit("zs", "薪资数据", "查看");
        boolean f2 = mgr.hasPermit("ls", "薪资数据", "查看");

        System.out.println("zs f1="+f1);
        System.out.println("ls f2="+f2);
    }
}
